package cn.sylinx.horm.pool;

import cn.beecp.BeeDataSource;

public class BeeDataSourceCreator extends AbstractDataSourceCreator<BeeDataSource> {

    @Override
    BeeDataSource createBaseDataSource(String driver, String url, String username, String password, String dbType) {

        BeeDataSource bds = new BeeDataSource();
        bds.setUrl(url);
        bds.setDriverClassName(driver);
        bds.setUsername(username);
        bds.setPassword(password);
        return bds;
    }
}
